import React, {useRef} from 'react';
import Democonp from "./democonp";

function Shell(props) {
    const demoshell = useRef(null)
    //console.log('props',props);


    return (<div>
            <Democonp props={props} ref={demoshell}/>
            <button onClick={()=>demoshell.current.changebla()}>修改</button>
        </div>
    );
}

export default Shell;